package com.pai4j.pgc.dao.community;
import com.pai4j.pgc.entity.community.MessageTemplateEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 *
 *
 * @author: CYM-pai
 * @date: 2025/10/31 12:17
 **/
@Repository
public interface IMessageTemplateDAO extends JpaRepository<MessageTemplateEntity, Long>, JpaSpecificationExecutor<MessageTemplateEntity> {


    MessageTemplateEntity findAllByCode(String code);
}
